package com.allenkerr;

import org.apache.ibatis.plugin.Interceptor;
import org.apache.ibatis.session.SqlSessionFactory;
import org.mybatis.spring.SqlSessionFactoryBean;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.core.io.support.PathMatchingResourcePatternResolver;

import javax.activation.DataSource;

@SpringBootApplication
@MapperScan("com.allenkerr.mapper")	//扫描mapper包下的接口
public class App {

	public static void main(String[] args) {
		SpringApplication.run(App.class, args);
	}
}
